FROM java:8
MAINTAINER "qik"<1755979775@qq.com>
ENV JAVA_OPTS="\
-XX:SurvivorRatio=8 \
-XX:+UseConcMarkSweepGC \
"
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /wechat-service.jar" ]
